package com.fc.v2.model.auto;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import cn.hutool.core.date.DateUtil;
import java.util.Date;

public class Experproject implements Serializable {
    private static final long serialVersionUID = 1L;

	
	@ApiModelProperty(value = "id")
	private String id;
	
	@ApiModelProperty(value = "专家id")
	private String expertId;
	
	@ApiModelProperty(value = "项目id")
	private String proId;
	
	@ApiModelProperty(value = "审核进度")
	private Integer checkProcess;
	
	@ApiModelProperty(value = "项目进程")
	private String other1;
	
	@ApiModelProperty(value = "备用字段2")
	private String other2;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	@ApiModelProperty(value = "专家更新时间")
	private Date manUpdateTime;
	
	@JsonProperty("id")
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id =  id;
	}
	@JsonProperty("expertId")
	public String getExpertId() {
		return expertId;
	}

	public void setExpertId(String expertId) {
		this.expertId =  expertId;
	}
	@JsonProperty("proId")
	public String getProId() {
		return proId;
	}

	public void setProId(String proId) {
		this.proId =  proId;
	}
	@JsonProperty("checkProcess")
	public Integer getCheckProcess() {
		return checkProcess;
	}

	public void setCheckProcess(Integer checkProcess) {
		this.checkProcess =  checkProcess;
	}
	@JsonProperty("other1")
	public String getOther1() {
		return other1;
	}

	public void setOther1(String other1) {
		this.other1 =  other1;
	}
	@JsonProperty("other2")
	public String getOther2() {
		return other2;
	}

	public void setOther2(String other2) {
		this.other2 =  other2;
	}
	@JsonProperty("manUpdateTime")
	public Date getManUpdateTime() {
		return manUpdateTime;
	}

	public void setManUpdateTime(Date manUpdateTime) {
		this.manUpdateTime =  manUpdateTime;
	}

														
	public Experproject(String id,String expertId,String proId,Integer checkProcess,String other1,String other2,Date manUpdateTime) {
				
		this.id = id;
				
		this.expertId = expertId;
				
		this.proId = proId;
				
		this.checkProcess = checkProcess;
				
		this.other1 = other1;
				
		this.other2 = other2;
				
		this.manUpdateTime = manUpdateTime;
				
	}

	public Experproject() {
	    super();
	}

	public String dateToStringConvert(Date date) {
		if(date!=null) {
			return DateUtil.format(date, "yyyy-MM-dd HH:mm:ss");
		}
		return "";
	}
	

}